<div class="gridButton" {if $link}onclick="{if $confirmMessage}fg_confirm('{$confirmMessage}','{$link}'){else}document.location='{$link}'{/if}"{/if}>{$message}</div>
